﻿<%@ Page Language="C#" MasterPageFile="~/AdminZone/AdminMaster.master" AutoEventWireup="true" CodeFile="SalesReport.aspx.cs" Inherits="AdminZone_SalesReport" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script language="jscript">
    function change() {
        window.document.frmlist.submit();
    }
    
    function submitFrm()
    {
	   document.frm.submit();		
    }
</script>
    <div id="toolbar-box">
        <div class="m">   
            <div class="pagetitle icon-adminInfo"><h2>Báo cáo doanh thu</h2></div>                  
        </div>
    </div>
    <div id="element-box">            
          <div class="m">   
            <form name="frm" action="" method="post">
                <span style='font-size:12.0pt;mso-bidi-font-size:12.0pt;color:red'>
                    CHỌN NĂM CẦN XEM >>                   
                    <asp:DropDownList ID="DropDownList1" runat="server" 
                    onselectedindexchanged="DropDownList1_SelectedIndexChanged" AutoPostBack="true">
                    </asp:DropDownList>				    
                    <center>
                        <asp:Label ID="lblInfo" runat="server"></asp:Label>
                    </center>
                </span>
            </form>               
            
                <div class="width-100 fltlft">      
                    <fieldset class="adminform"> 
			            <legend>CHI TIẾT DOANH THU CỦA CÔNG TY NĂM <asp:Label ID="lblFYear" runat="server" Text="2000"></asp:Label></legend>
			            <table width="100%"  border="0" cellspacing="0" cellpadding="0">    	 
	                      <tr>
	  	                    <td style=" padding-left:15px; padding-right:5px; " align="center" valign="middle" ><table style="border-collapse:collapse " width="70%%"  border="1" cellspacing="0" cellpadding="3" bgcolor="#EEEEEE">
                              <tr bgcolor="#6666B3">
                                <td align="center" valign="middle"><b>
                                    <font face="Verdana" size="2" color="#FFFFFF">QUÝ</font></b></td>
                                <td align="center" valign="middle"><b>
                                    <font face="Verdana" size="2" color="#FFFFFF">THÁNG</font></b></td>
                                <td width="44%" align="center" valign="middle"><b>
                                    <font face="Verdana" size="2" color="#FFFFFF">DOANH THU<br>(VNĐ)</font></b> </td>
                                <td width="30%" align="center" valign="middle"><b>
                                    <font face="Verdana" size="2" color="#FFFFFF">TỔNG CỘNG<br>(VNĐ)</font></b></td>
                              </tr>
                              <tr valign="middle">
                                <td width="16%" rowspan="3" align="center" bgcolor="#7CDDFA"><strong>I</strong></td>
                                <td width="10%" align="center">1</td>
                                <td align="center" class="list"><strong><%=String.Format("{0:0.00}", jan)%></strong></td>
                                <td rowspan="3" align="center"><font color="#FF0000"><%=String.Format("{0:0.00}", jan + feb + mar )%></font></td>
                              </tr>
                              <tr valign="middle">
                                <td align="center">2</td>
                                <td align="center" class="list"><strong><%=String.Format("{0:0.00}", feb)%></strong></td>
                                </tr>
                              <tr valign="middle">
                                <td align="center">3</td>
                                <td align="center" class="list"><strong><%=String.Format("{0:0.00}", mar)%></strong></td>
                                </tr>
                              <tr valign="middle" bgcolor="#F9F9FF">
                                <td align="center">&nbsp;</td>
                                <td align="center">&nbsp;</td>
                                <td align="left">&nbsp;</td>
                                <td align="right">&nbsp;</td>
                              </tr>
                              <tr valign="middle">
                                <td width="16%" rowspan="3" align="center" bgcolor="#7CDDFA"><strong>II</strong></td>
                                <td width="10%" align="center">4</td>
                                <td align="center" class="list"><strong><%=String.Format("{0:0.00}", apr)%></strong></td>
                                <td rowspan="3" align="center" ><font color="#FF0000"><%=String.Format("{0:0.00}",apr+may+jun)%></font></td>
                              </tr>
                              <tr valign="middle">
                                <td align="center">5</td>
                                <td align="center" class="list"><strong><%=String.Format("{0:0.00}", may)%></strong></td>
                                </tr>
                              <tr valign="middle">
                                <td align="center">6</td>
                                <td align="center" class="list"><strong><%=String.Format("{0:0.00}",jun) %></strong></td>
                                </tr>
                              <tr valign="middle" bgcolor="#F9F9FF">
                                <td align="center">&nbsp;</td>
                                <td align="center">&nbsp;</td>
                                <td align="left">&nbsp;</td>
                                <td align="right">&nbsp;</td>
                              </tr>
                              <tr valign="middle">
                                <td width="16%" rowspan="3" align="center" bgcolor="#7CDDFA"><strong>III</strong></td>
                                <td width="10%" align="center">7</td>
                                <td align="center" class="list"><strong><%=String.Format("{0:0.00}",jul )%></strong></td>
                                <td rowspan="3" align="center" ><font color="#FF0000"><%=String.Format("{0:0.00}",jul+aug+sep) %></font></td>
                              </tr>
                              <tr valign="middle">
                                <td align="center">8</td>
                                <td align="center" class="list"><strong><%=String.Format("{0:0.00}",aug )%></strong></td>
                                </tr>
                              <tr valign="middle">
                                <td align="center">9</td>
                                <td align="center" class="list"><strong><%=String.Format("{0:0.00}",sep) %></strong></td>
                                </tr>
                              <tr valign="middle" bgcolor="#F9F9FF">
                                <td align="center">&nbsp;</td>
                                <td align="center">&nbsp;</td>
                                <td align="left">&nbsp;</td>
                                <td align="right">&nbsp;</td>
                              </tr>
                              <tr valign="middle">
                                <td width="16%" rowspan="3" align="center" bgcolor="#7CDDFA"><strong>IV</strong></td>
                                <td width="10%" align="center">10</td>
                                <td align="center" class="list"><strong><%=String.Format("{0:0.00}",octo) %></strong></td>
                                <td rowspan="3" align="center"><font color="#FF0000"><%=String.Format("{0:0.00}",octo+nov+dec )%></font></td>
                              </tr>
                              <tr valign="middle">
                                <td align="center">11</td>
                                <td align="center" class="list"><strong><%=String.Format("{0:0.00}",nov )%></strong></td>
                                </tr>
                              <tr valign="middle">
                                <td align="center">12</td>
                                <td align="center" class="list"><strong><%=String.Format("{0:0.00}",dec )%></strong></td>
                                </tr>
                              <tr valign="middle">
                                <td height="26" colspan="3" align="right" bgcolor="#DBD606"><strong>Doanh thu c&#7843; n&#259;m &nbsp;</strong></td>
                                <td align="center" bgcolor="#DBD606"><strong><font color="#FF0000"><%=String.Format("{0:0.00}",total) %></font></strong></td>
                              </tr>
                    		  
                            </table></td>
	                      </tr>
	                      <tr>
	                        <td height="33" align="center" valign="middle" style="padding-left:5px; padding-right:5px; ">&nbsp;</td>
	                        </tr>
	                      <tr>
	                        <td height="44" align="center" valign="middle" style="padding-left:5px; padding-right:5px; ">&nbsp;</td>
	                        </tr>
	                      <tr>
	                        <td style=" padding-right:5px; " align="center" valign="middle"><strong>BIỂU ĐỒ TỈ LỆ DOANH THU CỦA CÔNG TY TRONG NĂM <asp:Label ID="lblSYear" runat="server" Text="2000"></asp:Label></strong></td>
	                        </tr>
	                      <tr>
	                        <td align="left" valign="middle"><table width="70%" border="0" align="center"  cellpadding="0" cellspacing="0">
                            <tr> 
                              <td width="52" align="center">
		                      <b>Doanh thu<br>%</b></td>
                              <td width="30" align="left">&nbsp;</td><td width="25" align="left">&nbsp;</td>
                              <td width="25" align="left">&nbsp;</td><td width="25" align="left">&nbsp;</td>
                              <td width="25" align="left">&nbsp;</td><td width="25" align="left">&nbsp;</td>
                              <td width="25" align="left">&nbsp;</td><td width="25" align="left">&nbsp;</td>
                              <td width="25" align="left">&nbsp;</td><td width="25" align="left">&nbsp;</td>
                              <td width="25" align="left">&nbsp;</td><td width="25" align="left">&nbsp;</td>
                              <td width="25" align="left">&nbsp;</td><td width="25" align="left">&nbsp;</td>
                              <td width="25" align="left">&nbsp;</td><td width="25" align="left">&nbsp;</td>
                              <td width="25" align="left">&nbsp;</td><td width="25" align="left">&nbsp;</td>
                              <td width="25" align="left">&nbsp;</td><td width="25" align="left">&nbsp;</td>
                              <td width="25" align="left">&nbsp;</td><td width="25" align="left">&nbsp;</td>
                              <td width="25" align="left">&nbsp;</td><td width="25" align="left">&nbsp;</td>
                            </tr>
                            <tr> 
                              <td width="52" valign="bottom" height="200"> 
                                <table width="57%" border="0" cellpadding="0" cellspacing="0">
                                  <tr> 
                                    <td align="right" valign="bottom" >100</td>
                                    <td rowspan="11" align="center" valign="top" width="64%" >
				                        <%--<img src="../img/dot.gif" width="10px" height="210" >--%>
				                    </td>
                                  </tr>
                                  <tr> 
                                    <td align="right" valign="bottom">90</td>
                                  </tr>
                                  <tr> 
                                    <td align="right" valign="bottom">80</td>
                                  </tr>
                                  <tr> 
                                    <td align="right" valign="bottom">70</td>
                                  </tr>
                                  <tr> 
                                    <td align="right" valign="bottom">60</td>
                                  </tr>
                                  <tr> 
                                    <td align="right" valign="bottom">50</td>
                                  </tr>
                                  <tr> 
                                    <td align="right" valign="bottom">40</td>
                                  </tr>
                                  <tr> 
                                    <td align="right" valign="bottom">30</td>
                                  </tr>
                                  <tr> 
                                    <td align="right" valign="bottom">20</td>
                                  </tr>
                                  <tr> 
                                    <td align="right" valign="bottom">10</td>
                                  </tr>
                                  <tr> 
                                    <td align="right" valign="bottom" >0</td>
                                  </tr>
                                </table>
                              </td>
                              <td width="25" valign="bottom" align="center" height="200px"> 
		  	                    <font size="1"> 		  	                       
		  	                        <%=String.Format("{0:0.00}", Jan)%> %		  	                       
		  	                    </font> 
                                <table width="100%" height="<%=String.Format("{0:0.0}",Jan*2)%>" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFC000">
                                  <tr> 
                                    <td></td>
                                  </tr>
                                </table>
                              </td>
                              <td width="25" valign="bottom" align="center" height="153"><font size="1"></font></td>
                              <td width="25" valign="bottom" align="center" height="153"> <font size="1"><%=String.Format("{0:0.00}",Feb)%> %
                              </font> 
                                <table width="100%" height="<%=String.Format("{0:0.0}",Feb*2)%> " border="0" cellpadding="0" cellspacing="0"  bgcolor="#FF0000">
                                  <tr> 
                                    <td></td>
                                  </tr>
                                </table>
                              </td>
                              <td width="25" valign="bottom" align="center" height="153"><font size="1"></font></td>
                              <td width="25" valign="bottom" align="center" height="153"> <font size="1"><%=String.Format("{0:0.00}",Mar)%>%</font> 
                                <table width="100%" height="<%=String.Format("{0:0.0}",Mar*2)%>" border="0" cellpadding="0" cellspacing="0"  bgcolor="#FF6600">
                                  <tr> 
                                    <td></td>
                                  </tr>
                                </table>
                              </td>
                              <td width="25" valign="bottom" align="center" height="153"><font size="1"></font></td>
                              <td width="25" valign="bottom" align="center" height="153"> <font size="1"><%=String.Format("{0:0.00}",Apr)%>%</font> 
                                <table width="100%" height="<%=String.Format("{0:0.00}",Apr*2)%>" border="0" cellpadding="0" cellspacing="0"  bgcolor="#FF00CC">
                                  <tr> 
                                    <td></td>
                                  </tr>
                                </table>
                              </td>
                              <td width="25" valign="bottom" align="center" height="153"><font size="1"></font></td>
                              <td width="25" valign="bottom" align="center" height="153"> <font size="1"><%=String.Format("{0:0.00}",May)%>%</font> 
                                <table width="100%" height=<%=String.Format("{0:0.00}",May*2)%>" border="0" cellpadding="0" cellspacing="0"  bgcolor="#FF006C">
                                  <tr> 
                                    <td></td>
                                  </tr>
                                </table>
                              </td>
                              <td width="25" valign="bottom" align="center" height="153"><font size="1"></font></td>
                              <td width="25" valign="bottom" align="center" height="153"> <font size="1"><%=String.Format("{0:0.00}",Jun)%>%</font> 
                                <table width="100%" height="<%=String.Format("{0:0.00}",Jun*2)%>" border="0" cellpadding="0" cellspacing="0"  bgcolor="#0000CC">
                                  <tr> 
                                    <td></td>
                                  </tr>
                                </table>
                              </td>
                              <td width="25" valign="bottom" align="center" height="153"><font size="1"></font></td>
                              <td width="25" valign="bottom" align="center" height="153"> <font size="1"><%=String.Format("{0:0.00}",Jul)%>%</font> 
                                <table width="100%" height="<%=String.Format("{0:0.00}",Jul*2)%>" border="0" cellpadding="0" cellspacing="0"  bgcolor="#F660CC">
                                  <tr> 
                                    <td></td>
                                  </tr>
                                </table>
                              </td>
                              <td width="25" valign="bottom" align="center" height="153"><font size="1"></font></td>
                              <td width="25" valign="bottom" align="center" height="153"> <font size="1"><%=String.Format("{0:0.00}",Aug)%>%</font> 
                                <table width="100%" height="<%=String.Format("{0:0.00}",Aug*2)%>" border="0" cellpadding="0" cellspacing="0"  bgcolor="#0066CC">
                                  <tr> 
                                    <td></td>
                                  </tr>
                                </table>
                              </td>
                              <td width="25" valign="bottom" align="center" height="153"><font size="1"></font></td>
                              <td width="25" valign="bottom" align="center" height="153"> <font size="1"><%=String.Format("{0:0.00}",Sep)%>%</font> 
                                <table width="100%" height="<%=String.Format("{0:0.00}",Sep*2)%>" border="0" cellpadding="0" cellspacing="0"  bgcolor="#00FFCC">
                                  <tr> 
                                    <td></td>
                                  </tr>
                                </table>
                              </td>
                              <td width="25" valign="bottom" align="center" height="153"><font size="1"></font></td>
                              <td width="25" valign="bottom" align="center" height="153"> <font size="1"><%=String.Format("{0:0.00}",Octo)%>%</font> 
                                <table width="100%" height="<%=String.Format("{0:0.00}",Octo*2)%>" border="0" cellpadding="0" cellspacing="0"  bgcolor="#00FF66">
                                  <tr> 
                                    <td></td>
                                  </tr>
                                </table>
                              </td>
                              <td width="25" valign="bottom" align="center" height="153"><font size="1"></font></td>
                              <td width="25" valign="bottom" align="center" height="153"> <font size="1"><%=String.Format("{0:0.00}",Nov)%>%</font> 
                                <table width="100%" height="<%=String.Format("{0:0.00}",Nov*2)%>" border="0" cellpadding="0" cellspacing="0"  bgcolor="#CCFF66">
                                  <tr> 
                                    <td></td>
                                  </tr>
                                </table>
                              </td>
                              <td width="25" valign="bottom" align="center" height="153"><font size="1"></font></td>
                              <td width="25" valign="bottom" align="center" height="153"> <font size="1"><%=String.Format("{0:0.00}",Dec)%>%</font> 
                                <table width="100%" height="<%=String.Format("{0:0.00}",Dec*2)%>" border="0" cellpadding="0" cellspacing="0"  bgcolor="#FFFF66">
                                  <tr> 
                                    <td></td>
                                  </tr>
                                </table>
                              </td>
                              <td width="25" height="153">&nbsp;</td>
                            </tr>
                            <tr> 
                              <td align="center"  colspan="25" >
		                           <img src="../img/dot.gif" width="100%" height="1">
		                       </td>
                            </tr>
                            <tr style="padding-bottom:2px; padding-top:2px; "> 
                              <td align="center" width="52" >
		                      <font color="#000033"><b>Tháng</b></font></td>
                              <td align="center" width="25" >
		                      <font color="#0066CC">1</font></td>
                              <td width="25" align="center" >
		                      <font color="#0066CC">&nbsp;</font></td>
                              <td width="25" align="center" >
		                      <font color="#0066CC">2</font></td>
                              <td width="25" align="center" >
		                      <font color="#0066CC">&nbsp;</font></td>
                              <td width="25" align="center" >
		                      <font color="#0066CC">3</font></td>
                              <td width="25" align="center" >
		                      <font color="#0066CC">&nbsp;</font></td>
                              <td width="25" align="center" >
		                      <font color="#0066CC">4</font></td>
                              <td width="25" align="center" >
		                      <font color="#0066CC">&nbsp;</font></td>
                              <td width="25" align="center" >
		                      <font color="#0066CC">5</font></td>
                              <td width="25" align="center" >
		                      <font color="#0066CC">&nbsp;</font></td>
                              <td width="25" align="center" >
		                      <font color="#0066CC">6</font></td>
                              <td width="25" align="center" >
		                      <font color="#0066CC">&nbsp;</font></td>
                              <td width="25" align="center" >
		                      <font color="#0066CC">7</font></td>
                              <td width="25" align="center" >
		                      <font color="#0066CC">&nbsp;</font></td>
                              <td width="25" align="center" >
		                      <font color="#0066CC">8</font></td>
                              <td width="25" align="center" >
		                      <font color="#0066CC">&nbsp;</font></td>
                              <td width="25" align="center" >
		                      <font color="#0066CC">9</font></td>
                              <td width="25" align="center" >
		                      <font color="#0066CC">&nbsp;</font></td>
                              <td width="25" align="center" >
		                      <font color="#0066CC">10</font></td>
                              <td width="25" align="center" >
		                      <font color="#0066CC">&nbsp;</font></td>
                              <td width="25" align="center" >
		                      <font color="#0066CC">11</font></td>
                              <td width="25" align="center" >
		                      <font color="#0066CC">&nbsp;</font></td>
                              <td width="25" align="center" >
		                      <font color="#0066CC">12</font></td>
                              <td width="25" align="center" >
		                      <b><font color="#0066CC">&nbsp;</font></b></td>
                            </tr>
                          </table></td>
	                        </tr>
		                    <tr>
		                      <td>&nbsp;</td>
		                      </tr>
		                    <tr><td align="center" valign="middle" style="padding-bottom:3px; "><strong>THỐNG KÊ THEO BIỂU ĐỒ</strong></td></tr>
                        </table>			            
			        </fieldset>
			    </div>          
          <div class="clr"/>        
        </div>  
     </div>   
</asp:Content>

